package io.hxci.modules.stu.controller;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import io.hxci.modules.edu.domain.EduStudent;
import io.hxci.modules.edu.service.EduStudentService;
import io.hxci.modules.stu.domain.EvalType;
import io.hxci.modules.stu.service.EvalTypeService;
import io.hxci.modules.sys.controller.AbstractController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController //注解
@RequestMapping("stu")
public class StudentController extends AbstractController {
    @Autowired
    EduStudentService service;



    @RequestMapping("info")
    public EduStudent info(){
        Long sid = getUserId();
        EduStudent stu = service.info(sid);
        return stu;
    }


}
